-- GENERATED SPELL FOR [Bloated Abomination] --


function spell0_28843(pUnit, Event) --@Flatulate,Self--
pUnit:FullCastSpellOnTarget(52497,pUnit)
pUnit:RegisterEvent('Sorts_28843', 2000, 1)
end

function Sorts_28843(pUnit, Event)
local choix_sorts_28843 = math.random(0, 0)
if choix_sorts_28843 == 0 then
pUnit:RegisterEvent('spell0_28843', 1, 1)
end
end

function mob28843_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28843', math.random(1500, 3000), 1)
end

function mob28843_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28843_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28843_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28843, 1, 'mob28843_Action')
RegisterUnitEvent(28843, 2, 'mob28843_Leave')
RegisterUnitEvent(28843, 3, 'mob28843_Kill')
RegisterUnitEvent(28843, 4, 'mob28843_Die')
